import { Component, OnInit ,Input,ChangeDetectorRef } from '@angular/core';

@Component({
  selector: 'app-lodding',
  templateUrl: './lodding.component.html',
  styleUrls: ['./lodding.component.scss'],
})
export class LoddingComponent implements OnInit {

  @Input() falg: boolean = false;

  constructor(private changeDetectorRef:ChangeDetectorRef) { }

  ngOnInit() {}

  onShow(){
    // location.reload()
    this.falg = false
    this.changeDetectorRef.detectChanges()
  }

}
